package concurrent.chapter11;


public class QueryFromDBAction {
    public void execute(Context context) {
        try {
            Thread.sleep(1000L);
            String name = "Alex " + Thread.currentThread().getName();
            context.setName(name);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
